第 21 步:我们找到了您的最高分!让我们使用字符串格式将其打印到控制台。

  • 并将Insert Single Value拖到main()的底部。
  • 将字符串更改为"Highest Grade: {}"并将my_var替换为最高highest_grade
  • 并拖入Print Variable 。将变量更改为my_string
  • 点击运行并记住向上和向下滚动以查看所有内容!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)